package cn.tedu.exam1.certificate.service.impl;

import cn.tedu.exam1.certificate.mapper.CertificateMapper;
import cn.tedu.exam1.certificate.pojo.dto.CertificateQuery;
import cn.tedu.exam1.certificate.pojo.vo.CertificateVO;
import cn.tedu.exam1.certificate.service.CertificateService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class CertificateServiceImpl implements CertificateService {
    @Autowired
    CertificateMapper certificateMapper;

    @Override
    public List<CertificateVO> select(CertificateQuery certificateQuery) {
        List<CertificateVO> list=certificateMapper.select(certificateQuery);
        return list;
    }
}
